package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

/**
 * Customer对象 Customer
 *
 * @author liutietou
 * @since 1.0 2025-06-27
 */
@Entity
@Table(name = "customerclass")
@Data
public class CustomerClass {

    private static final long serialVersionUID = 1L;

    /**  */
    @Id
    @Column(name="ccccode")
    private String ccccode;


    @Column(name="cccname")
    private  String cccname;

    @Transient
    private  String parentcode;


    @Transient
    private List<CustomerClass> children = new ArrayList<>();

}
